Guest User

Untitled

a guest
May 25th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. +---------+ +---------+ +-----+
  2. | client | | server | | uC |
  3. +---------+ +---------+ +-----+
  4. | | | ----------------
  5. | | |-| stores h^n(p) |
  6. | | | | and n=1000 |
  7. | | | |---------------|
  8. | | ---------- |
  9. | |-| knows p | |
  10. | | | and n | |
  11. | | |---------| |
  12. | | |
  13. | request access | |
  14. |---------------------->| |
  15. | | ------------------ |
  16. | |-| check if access | |
  17. | | | may be granted | |
  18. | | |-----------------| |
  19. | | |
  20. | OTP = h^(n-1)(p) | |
  21. |<----------------------| |
  22. | | |
  23. | OTP | |
  24. |--------------------------------------------------------->|
  25. | | | -----------------
  26. | | |-| grant access |
  27. | | | | store OTP, n-- |
  28. | | | |----------------|
  29. | | |
  30. | | access granted |
  31. | | if n==0: create new h^1000(p) |
  32. | |<---------------------------------|
  33. | | ---------------------- |
  34. | |-| save granted access | |
  35. | | | n-- | |
  36. | | |---------------------| |
  37. | | |
  38. | | OK, h^1000(q) if needed |
  39. | |--------------------------------->|
  40. | | |
Add Comment
Please, Sign In to add comment